package concurrent;

/**
 * @author sjw
 * @className Tool
 * @date 2022/4/16 13:48
 * @description: TODO
 */
public class Tool {
    public static Tool instance=new Tool();

    private Tool(){
        System.out.println("---");
    }

    public void hello(){
        System.out.println("hello");
    }

    public static void main(String[] args) {
        System.out.println("main");
        Tool.instance.hello();
        Tool.instance.hello();
    }
}
